<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>DateTimePicker</title>
    <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
    <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
    <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
    <link rel="shortcut icon" type="image/png" href="../assets/favicon.png">
    <script src="http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js"></script>
</head>
<body class="yui3-skin-sam">

<div id="doc">
    <div id="hd" class="yui3-g header">
        <div class="yui3-u-3-4">
            
                <h1><img src="../assets/css/logo.png" title=""></h1>
            
        </div>
        <div class="yui3-u-1-4 version">
            <em>API Docs for: </em>
        </div>
    </div>
    <div id="bd" class="yui3-g">

        <div class="yui3-u-1-4">
            <div id="docs-sidebar" class="sidebar apidocs">
                <div id="api-list">
    <h2 class="off-left">APIs</h2>
    <div id="api-tabview" class="tabview">
        <ul class="tabs">
            <li><a href="#api-classes">Classes</a></li>
            <li><a href="#api-modules">Modules</a></li>
        </ul>

        <div id="api-tabview-filter">
            <input type="search" id="api-filter" placeholder="Type to filter APIs">
        </div>

        <div id="api-tabview-panel">
            <ul id="api-classes" class="apis classes">
            
                <li><a href="../classes/Accordion.html">Accordion</a></li>
            
                <li><a href="../classes/AutoComplete.html">AutoComplete</a></li>
            
                <li><a href="../classes/Button.html">Button</a></li>
            
                <li><a href="../classes/Carousel.html">Carousel</a></li>
            
                <li><a href="../classes/ColorPicker.html">ColorPicker</a></li>
            
                <li><a href="../classes/Combobox.html">Combobox</a></li>
            
                <li><a href="../classes/DateTimePicker.html">DateTimePicker</a></li>
            
                <li><a href="../classes/Grid.html">Grid</a></li>
            
                <li><a href="../classes/ListView.html">ListView</a></li>
            
                <li><a href="../classes/Popover.html">Popover</a></li>
            
                <li><a href="../classes/ProgressBar.html">ProgressBar</a></li>
            
                <li><a href="../classes/RichTextEditor.html">RichTextEditor</a></li>
            
                <li><a href="../classes/ScrollSpy.html">ScrollSpy</a></li>
            
                <li><a href="../classes/Select.html">Select</a></li>
            
                <li><a href="../classes/SideBar.html">SideBar</a></li>
            
                <li><a href="../classes/Slider.html">Slider</a></li>
            
                <li><a href="../classes/Spinner.html">Spinner</a></li>
            
                <li><a href="../classes/Tab.html">Tab</a></li>
            
                <li><a href="../classes/ToolBar.html">ToolBar</a></li>
            
                <li><a href="../classes/Tooltip.html">Tooltip</a></li>
            
                <li><a href="../classes/Tree.html">Tree</a></li>
            
                <li><a href="../classes/Wizard.html">Wizard</a></li>
            
            </ul>

            <ul id="api-modules" class="apis modules">
            
            </ul>
        </div>
    </div>
</div>

            </div>
        </div>
        <div class="yui3-u-3-4">
                <div id="api-options">
        Show:
        <label for="api-show-inherited">
            <input type="checkbox" id="api-show-inherited" checked>
            Inherited
        </label>

        <label for="api-show-protected">
            <input type="checkbox" id="api-show-protected">
            Protected
        </label>

        <label for="api-show-private">
            <input type="checkbox" id="api-show-private">
            Private
        </label>
        <label for="api-show-deprecated">
            <input type="checkbox" id="api-show-deprecated">
            Deprecated
        </label>

    </div>


            <div class="apidocs">
                <div id="docs-main">
                    <div class="content">
                        <h1>DateTimePicker Class</h1>
<div class="box meta">
    

    

    
        <div class="foundat">
            Defined in: <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l7"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:7</code></a>
        </div>
    

    

    
</div>



<div class="box intro">
    <p>日期时间选择器</p>

</div>


    <div class="constructor">
        <h2>Constructor</h2>
        <div id="method_DateTimePicker" class="method item">
    <h3 class="name"><code>DateTimePicker</code></h3>

    
        <span class="paren">()</span>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l7"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:7</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        
    </div>

    

    

    
        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <pre class="code prettyprint"><code>js代码
$(function(){
    var datetimepicker = $(&#39;#datetimepicker1&#39;).datetimepicker({
         language: &#39;zh-CN&#39;,
         pickDate: true,
         pickTime: true,
         pick12HourFormat:true
    });
});</code></pre>
<pre class="code prettyprint"><code>html代码
&lt;div class=&quot;container&quot;&gt;
    &lt;div class=&quot;col-lg-6&quot;&gt;
        &lt;div id=&quot;datetimepicker1&quot;  class=&quot;input-group&quot;&gt;
            &lt;input type=&quot;text&quot;  class=&quot;form-control&quot;&gt;&lt;/input&gt;
            &lt;span class=&quot;input-group-btn add-on input-append&quot;&gt;
                &lt;i data-time-icon=&quot;icon-time&quot; data-date-icon=&quot;icon-calendar&quot;&gt;&lt;/i&gt;
            &lt;/span&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;</code></pre>

            </div>
        </div>
    
</div>

    </div>


<div id="classdocs" class="tabview">
    <ul class="api-class-tabs">
        <li class="api-class-tab index"><a href="#index">Index</a></li>

        
            <li class="api-class-tab methods"><a href="#methods">Methods</a></li>
        
        
            <li class="api-class-tab properties"><a href="#properties">Properties</a></li>
        
        
            <li class="api-class-tab attrs"><a href="#attrs">Attributes</a></li>
        
        
    </ul>

    <div>
        <div id="index" class="api-class-tabpanel index">
            <h2 class="off-left">Item Index</h2>

            
                <div class="index-section methods">
                    <h3>Methods</h3>

                    <ul class="index-list methods">
                        
                            <li class="index-item method">
                                <a href="#method_destroy">destroy</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_disable">disable</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_enable">enable</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_getDate">getDate</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_getLocalDate">getLocalDate</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_getValue">getValue</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_hide">hide</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_setDate">setDate</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_setEndDate">setEndDate</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_setLocalDate">setLocalDate</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_setStartDate">setStartDate</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_setValue">setValue</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_show">show</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_update">update</a>

                                
                                
                            </li>
                        
                    </ul>
                </div>
            

            
                <div class="index-section properties">
                    <h3>Properties</h3>

                    <ul class="index-list properties">
                        
                            <li class="index-item property">
                                <a href="#property_collapse">collapse</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_contTemplate">contTemplate</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_endDate">endDate</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_maskInput">maskInput</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_pick12HourFormat">pick12HourFormat</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_pickDate">pickDate</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_pickSeconds">pickSeconds</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_pickTime">pickTime</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_startDate">startDate</a>

                                
                                
                            </li>
                        
                    </ul>
                </div>
            

            
                <div class="index-section attrs">
                    <h3>Attributes</h3>

                    <ul class="index-list attrs">
                        
                            <li class="index-item attr">
                                <a href="#attr_actions">actions</a>
                            </li>
                        
                    </ul>
                </div>
            

            
        </div>

        
            <div id="methods" class="api-class-tabpanel">
                <h2 class="off-left">Methods</h2>

                
                    <div id="method_destroy" class="method item">
    <h3 class="name"><code>destroy</code></h3>

    
        <span class="paren">()</span>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l948"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:948</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>销毁整个日期时间组件</p>

    </div>

    

    

    
</div>

                
                    <div id="method_disable" class="method item">
    <h3 class="name"><code>disable</code></h3>

    
        <span class="paren">()</span>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l176"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:176</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>设置不可用</p>

    </div>

    

    

    
</div>

                
                    <div id="method_enable" class="method item">
    <h3 class="name"><code>enable</code></h3>

    
        <span class="paren">()</span>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l185"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:185</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>设置可用</p>

    </div>

    

    

    
</div>

                
                    <div id="method_getDate" class="method item">
    <h3 class="name"><code>getDate</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l256"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:256</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>获取当前UTC格式日期</p>

    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                    <p>Date</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_getLocalDate" class="method item">
    <h3 class="name"><code>getLocalDate</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l337"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:337</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>获取当前本地格式日期</p>

    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                    <p>Date</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_getValue" class="method item">
    <h3 class="name"><code>getValue</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l266"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:266</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>获取当前UTC格式日期字符串</p>

    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                    <p>String</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_hide" class="method item">
    <h3 class="name"><code>hide</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>event</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l194"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:194</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>隐藏</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">event</code>
                        <span class="type">Object</span>
                    

                    

                    <div class="param-description">
                         
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_setDate" class="method item">
    <h3 class="name"><code>setDate</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>date(Date)</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l285"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:285</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>设置UTC格式的日期</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">date(Date)</code>
                        <span class="type">Object</span>
                    

                    

                    <div class="param-description">
                         
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_setEndDate" class="method item">
    <h3 class="name"><code>setEndDate</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>date(Date/String)</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l316"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:316</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>设置结束日期</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">date(Date/String)</code>
                        <span class="type">Object</span>
                    

                    

                    <div class="param-description">
                         
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_setLocalDate" class="method item">
    <h3 class="name"><code>setLocalDate</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>localDate(Date/String)</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l349"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:349</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>设置当前本地格式日期</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">localDate(Date/String)</code>
                        <span class="type">Object</span>
                    

                    

                    <div class="param-description">
                         
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_setStartDate" class="method item">
    <h3 class="name"><code>setStartDate</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>date(Date/String)</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l295"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:295</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>设置开始日期</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">date(Date/String)</code>
                        <span class="type">Object</span>
                    

                    

                    <div class="param-description">
                         
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_setValue" class="method item">
    <h3 class="name"><code>setValue</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>newDate(Date/String)</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l234"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:234</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>设置UTC格式的日期</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">newDate(Date/String)</code>
                        <span class="type">Object</span>
                    

                    

                    <div class="param-description">
                         
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_show" class="method item">
    <h3 class="name"><code>show</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>event</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l156"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:156</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>显示</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">event</code>
                        <span class="type">Object</span>
                    

                    

                    <div class="param-description">
                         
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_update" class="method item">
    <h3 class="name"><code>update</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>newDate(Date/String)</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l415"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:415</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>更新日期</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">newDate(Date/String)</code>
                        <span class="type">Object</span>
                    

                    

                    <div class="param-description">
                         
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
            </div>
        

        
            <div id="properties" class="api-class-tabpanel">
                <h2 class="off-left">Properties</h2>

                
                    <div id="property_collapse" class="property item">
    <h3 class="name"><code>collapse</code></h3>
    <span class="type">Boolean</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l1269"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:1269</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>同时显示日期和时间的时候，是否通过折叠切换显示</p>

    </div>

    
        <p><strong>Default:</strong> true</p>
    

    

    
</div>

                
                    <div id="property_contTemplate" class="property item">
    <h3 class="name"><code>contTemplate</code></h3>
    <span class="type">String</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l1434"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:1434</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>内容模板html</p>

    </div>

    

    

    
</div>

                
                    <div id="property_endDate" class="property item">
    <h3 class="name"><code>endDate</code></h3>
    <span class="type">String 或 Date</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l1262"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:1262</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>结束日期</p>

    </div>

    
        <p><strong>Default:</strong> Infinity</p>
    

    

    
</div>

                
                    <div id="property_maskInput" class="property item">
    <h3 class="name"><code>maskInput</code></h3>
    <span class="type">Boolean</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l1220"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:1220</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>输入框输入时是否校验日期时间格式的合法</p>

    </div>

    
        <p><strong>Default:</strong> false</p>
    

    

    
</div>

                
                    <div id="property_pick12HourFormat" class="property item">
    <h3 class="name"><code>pick12HourFormat</code></h3>
    <span class="type">Boolean</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l1241"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:1241</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>是否以12小时格式显示</p>

    </div>

    
        <p><strong>Default:</strong> false</p>
    

    

    
</div>

                
                    <div id="property_pickDate" class="property item">
    <h3 class="name"><code>pickDate</code></h3>
    <span class="type">Boolean</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l1227"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:1227</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>是否显示日期选择</p>

    </div>

    
        <p><strong>Default:</strong> true</p>
    

    

    
</div>

                
                    <div id="property_pickSeconds" class="property item">
    <h3 class="name"><code>pickSeconds</code></h3>
    <span class="type">Boolean</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l1248"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:1248</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>是否精确到秒</p>

    </div>

    
        <p><strong>Default:</strong> true</p>
    

    

    
</div>

                
                    <div id="property_pickTime" class="property item">
    <h3 class="name"><code>pickTime</code></h3>
    <span class="type">Boolean</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l1234"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:1234</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>是否显示时间选择</p>

    </div>

    
        <p><strong>Default:</strong> true</p>
    

    

    
</div>

                
                    <div id="property_startDate" class="property item">
    <h3 class="name"><code>startDate</code></h3>
    <span class="type">String 或 Date</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l1255"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:1255</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>开始日期</p>

    </div>

    
        <p><strong>Default:</strong> -Infinity</p>
    

    

    
</div>

                
            </div>
        

        
            <div id="attrs" class="api-class-tabpanel">
                <h2 class="off-left">Attributes</h2>

                
                    <div id="attr_actions" class="attr item">
    <a name="config_actions"></a> 
    <h3 class="name"><code>actions</code></h3>
    <span class="type"></span>

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_DateTimePicker.js.html#l753"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_DateTimePicker.js:753</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>动作列表</p>

    </div>

    

    

    
</div>

                
            </div>
        

        
    </div>
</div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="../assets/vendor/prettify/prettify-min.js"></script>
<script>prettyPrint();</script>
<script src="../assets/js/yui-prettify.js"></script>
<script src="../assets/../api.js"></script>
<script src="../assets/js/api-filter.js"></script>
<script src="../assets/js/api-list.js"></script>
<script src="../assets/js/api-search.js"></script>
<script src="../assets/js/apidocs.js"></script>
</body>
</html>
